#ifndef WIFI_STA_DRIVER_H
#define WIFI_STA_DRIVER_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"


#include "esp_system.h"
#include "esp_log.h"
#include "esp_err.h"


#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_mac.h"

#define EXAMPLE_INVALID_REASON                255
#define EXAMPLE_INVALID_RSSI                  -128

esp_err_t wifi_sta_enable();
void wifi_sta_set_cfg(char *ssid,char* password);
void wifi_sta_connection();
void wifi_sta_reconnection();





#endif